{% extends 'base.html' %}
{% load i18n %}

{% block title %}{{ article.title }}{% endblock %}

{% block head %}
  <link href="{{ STATIC_URL }}css/articles.css" rel="stylesheet">
  <script src="{{ STATIC_URL }}js/articles.js"></script>
{% endblock head %}

{% block nav %}
  <li><a href="{% url 'feeds' %}">{% trans 'Feed' %}</a></li>
  <li class="active"><a href="{% url 'articles' %}">{% trans 'Articles' %}</a></li>
  <li><a href="{% url 'questions' %}">{% trans 'Q&A' %}</a></li>
  <li><a href="{% url 'about' %}">{% trans 'About'%}</a></li>
{% endblock nav %}

{% block main %}
  <ol class="breadcrumb">
    <li><a href="{% url 'articles' %}">{% trans 'Articles' %}</a></li>
    <li class="active">{% trans 'Article' %}</li>
  </ol>
  {% include 'articles/partial_article.html' with article=article %}
  {% include 'articles/partial_article_comments.html' with article=article %}
{% endblock main %}
